package com.cloudbroker.bcs.platform.ltb.middle.service;

import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.AdminUserIdList;
import com.cloudbroker.bcs.platform.ltb.middle.entity.Leader;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.LeaderListView;

import java.util.List;

/**
 * Created by zsh on 16/7/7.
 */
public interface LeaderService {

    /**
     * 新增投顾
     * */
    public void addLeader(Leader leader);

    /**
     * 获取投顾信息
     * */
    public Leader getLeader(Leader leader);

    /**
     * 更新leader_avatar
     * */
    public void updateLeaderHeadpic(Leader leader);

    /**
     * 更新leader_alias_name
     * */
    public void updateLeaderAliasName(Leader leader);

    /**
     * 获取投顾ID
     * */
    public Long getLeaderID(Leader leader);

    /**
     * 查询投顾列表
     */
    public List<LeaderListView> queryLeaderList(List<AdminUserIdList> list);

    /**
     * 修改投顾在职状态
     * */
    public void updateLeaderJobState(Leader leader);

}
